//
//  TallyType.m
//  Exam13-2
//
//  Created by 孙晓晔 on 2017/4/26.
//  Copyright © 2017年 孙晓晔. All rights reserved.
//

#import "TallyType.h"

@implementation TallyType

- (instancetype)initWithDict:(NSDictionary*)dict {
    self = [super init];
    if (self) {
        [self setValuesForKeysWithDictionary:dict];
    }
    
    return self;
}

+ (instancetype)tallyTypeWithDict:(NSDictionary*)dict {
    return [[TallyType alloc] initWithDict:dict];
}

@end
